package ${sysTableVo.packageName}.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
#foreach ($import in $importList)
import ${import};
    #if($foreach.count == $importList.size())

    #end
#end
/**
 * ${sysTableVo.bigClassName}Vo:
 *
 * @author ${sysTableVo.functionAuthor}
 * @create ${datetime}
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Schema(description = "${sysTableVo.comment}")
public class ${sysTableVo.bigClassName}Vo implements Serializable {

    private static final long serialVersionUID = 1L;

#foreach ($sysColumnVo in $sysColumnVoList)
    #if($sysColumnVo.isList)
        #set($parentheseIndex=$sysColumnVo.comment.indexOf("（"))
        #if($parentheseIndex != -1)
            #set($comment=$sysColumnVo.comment.substring(0, $parentheseIndex))
        #else
            #set($comment=$sysColumnVo.comment)
        #end
    /**
      * ${comment}
      */
    @Schema(description = "${comment}")
        #if($sysColumnVo.javaType == 'Date')
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        #end
        #if($sysColumnVo.name != "deleted")
    private $sysColumnVo.javaType $sysColumnVo.javaField;

        #end
    #end
#end
#if($sysTableVo.subTableId)
    /**
     * ${subSysTableVo.comment}列表
     */
    @Schema(description = "${subSysTableVo.comment}")
    private List<${subSysTableVo.ClassName}Vo> ${subSysTableVo.className}VoList;

#end
}
